/* pain-card.css — pattern: recognition-first pain card.

   Used on the marketing landing only — the four-card grid above the
   pillar grid. Each card names a pain the audience already feels in
   two beats: a small uppercase eyebrow + a single declarative body
   sentence. No icons. No numeric badges. Clean typography does the
   recognition work; visual decoration would dilute the punch.

   Pair with biq-pillar — pain cards sit above pillars, matched 1:1
   in content and reading order.

   See FSE_UI.md → Pain Card. */

.biq-pain-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--biq-space-5);
}

@media (min-width: 720px) {
    .biq-pain-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .biq-pain-cards {
        gap: var(--biq-space-6);
    }
}

.biq-pain-card {
    background: var(--biq-color-surface-raised);
    border: 1px solid var(--biq-color-rule);
    /* Session 2G — rust left-strip is the first of three deliberate
       rust placements on the homepage (eyebrow text + this border +
       the rhetorical landing in the honesty section).  Tells the
       reader "this is the pain side" at a glance. */
    border-left: 4px solid var(--biq-color-warning);
    border-radius: var(--biq-radius-md);
    padding: var(--biq-space-6);
    box-shadow: var(--biq-shadow-md);
    display: flex;
    flex-direction: column;
    gap: var(--biq-space-3);
    transition: box-shadow var(--biq-duration-normal) var(--biq-ease-standard);
}

.biq-pain-card:hover {
    box-shadow: var(--biq-shadow-lg);
}

/* Session 2G — line-icon at the top of each pain card.  Inline SVG
   that picks up `currentColor` from the parent; the container scopes
   the brand colour and stroke weight. */
.biq-pain-card__icon {
    width: 32px;
    height: 32px;
    color: var(--biq-color-warning);
    stroke-width: 1.5;
}

.biq-pain-card__eyebrow {
    font-size: var(--biq-fs-sm);
    font-weight: var(--biq-fw-semibold);
    /* Rust-700 (danger-strong) is the warmest of the three rust
       placements — the eyebrow leads each pain card. */
    color: var(--biq-color-danger-strong);
    letter-spacing: var(--biq-tracking-wide);
    text-transform: uppercase;
    margin: 0;
}

.biq-pain-card__body {
    font-size: var(--biq-fs-lg);
    font-weight: var(--biq-fw-medium);
    line-height: var(--biq-lh-snug);
    color: var(--biq-color-text-primary);
    margin: 0;
}

/* Session 2G.1 — tension transition sentence removed.  Pain cards
   now flow directly into the pillar grid; the connective italic line
   (and its surrounding breathing room) read as dead weight after
   live review.  The .biq-tension selector is intentionally retained
   neither here nor in landing.css — any reintroduction is a deliberate
   pattern revival. */

@media (prefers-reduced-motion: reduce) {
    .biq-pain-card { transition-duration: 0ms; }
}

@media (prefers-contrast: more) {
    .biq-pain-card {
        border-color: var(--biq-color-border-strong);
        border-left-color: var(--biq-color-danger-strong);
    }
    .biq-pain-card__eyebrow { color: var(--biq-color-text-primary); }
}
