/* ============================================================
   Stock Portfolio One - Public Policies index page
   Reuses the "After Dark" palette from landing.css (loaded on
   the same page). These rules add the policy-card grid.
   ============================================================ */

/* ── Page layout ── */
.policies-wrap {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem) 4rem;
}

.policies-head { text-align: center; margin-bottom: 2rem; }

.policies-head .eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.policies-head h1 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

.policies-head p {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.55;
}

/* ── Card grid ── */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.6rem);
    margin-top: 2.2rem;
    align-items: stretch;
}

.policy-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.8rem 1.5rem 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.policy-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
}

.policy-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--gold-bright);
    background: rgba(205, 155, 90, 0.12);
    border: 1px solid rgba(205, 155, 90, 0.25);
}

.policy-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.policy-card .desc {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.55;
    margin: 0 0 1.4rem;
}

.policy-card .cta {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 0.65rem;
    border: none;
    color: #1d1611;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    box-shadow: 0 6px 20px rgba(205, 155, 90, 0.35);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);
}

.policy-card .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(205, 155, 90, 0.5);
    filter: brightness(1.04);
    color: #1d1611;
}

/* ── Contact line ── */
.policies-contact {
    text-align: center;
    margin-top: 2.6rem;
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.policies-contact a {
    color: var(--gold-link);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.18s var(--ease);
}

.policies-contact a:hover {
    border-bottom-color: var(--gold-link);
}