/* ==========================================================================
   customers.css — the "Who it's for" page (/customers/, /pl/dla-kogo/)
   Loaded after blog.css and reusing its custom properties, so this file only
   adds the pieces the blog does not already style: the scenario articles,
   the four-up differentiator grid and the quote wall.
   ========================================================================== */

/* ---------------- DISCLOSURE ---------------- */
/* Says plainly that the scenarios are ours, not customer reviews. It sits
   above the scenarios on purpose — a reader must meet it first. */
.callout.disclosure {
    margin: 2.4rem 0 0;
    border-left: 3px solid var(--accent);
}
.callout.disclosure h2 {
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--faint); font-weight: 700; margin-bottom: 0.6rem;
}
.callout.disclosure p { font-size: 0.92rem; line-height: 1.7; color: var(--muted); }

/* ---------------- SCENARIOS ---------------- */
.profiles { display: grid; gap: 1.4rem; margin-block: 3.2rem; }
@media (min-width: 900px) { .profiles { grid-template-columns: 1fr 1fr; } }

.profile {
    display: flex; flex-direction: column; gap: 1rem;
    padding: 1.8rem 1.7rem;
    border: 1px solid var(--border); border-radius: 18px;
    background: var(--panel);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.profile:hover {
    border-color: var(--border-hi); background: var(--panel-strong);
    transform: translateY(-2px);
}
.profile-head { display: flex; align-items: flex-start; gap: 1rem; }
.profile-num {
    flex: none; font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.06em; color: var(--accent);
    padding: 0.32rem 0.5rem; border-radius: 8px;
    border: 1px solid var(--border-hi); background: rgba(90, 169, 255, 0.09);
    line-height: 1;
}
.profile-head .kicker {
    display: block; font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
    margin-bottom: 0.4rem;
}
.profile-head h3 { font-size: 1.16rem; line-height: 1.35; color: var(--text); }

.profile-scene p {
    color: var(--muted); font-size: 0.95rem; line-height: 1.75;
}
.profile-scene p + p { margin-top: 0.85rem; }
.profile-scene code {
    font-family: var(--mono); font-size: 0.85em;
    padding: 0.1rem 0.32rem; border-radius: 5px;
    border: 1px solid var(--border); background: var(--panel-strong); color: var(--text);
}

.profile-win {
    padding: 0.85rem 1rem; border-radius: 12px;
    border: 1px solid var(--border-hi); background: rgba(90, 169, 255, 0.07);
    font-size: 0.92rem; line-height: 1.6; color: var(--text);
}
.profile-win b {
    display: block; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 0.3rem; font-weight: 700;
}

.profile-uses { margin-top: auto; padding-top: 0.4rem; }
.profile-uses h4 {
    font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--faint); font-weight: 700; margin-bottom: 0.6rem;
}
.profile-uses ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.profile-uses li {
    font-size: 0.76rem; line-height: 1.3; color: var(--muted);
    padding: 0.3rem 0.6rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--panel-strong);
}

/* ---------------- WHAT MAKES THE DIFFERENCE ---------------- */
.diff { margin-block: 3.6rem; }
.diff > h2 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 0.8rem; }
.diff > .post-lead { margin-bottom: 2rem; }
.diff-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
.diff-card {
    padding: 1.5rem 1.5rem; border-radius: 16px;
    border: 1px solid var(--border); background: var(--panel);
}
.diff-card h3 { font-size: 1.02rem; margin-bottom: 0.55rem; color: var(--text); }
.diff-card p { font-size: 0.92rem; line-height: 1.72; color: var(--muted); }
.diff-card code {
    font-family: var(--mono); font-size: 0.85em;
    padding: 0.1rem 0.32rem; border-radius: 5px;
    border: 1px solid var(--border); background: var(--panel-strong); color: var(--text);
}

/* ---------------- QUOTE WALL ---------------- */
/* Only rendered when _build/customers.py has verified testimonials. */
.quotes { margin-block: 3.6rem; }
.quotes > h2 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 0.8rem; }
.quotes > .post-lead { margin-bottom: 0.6rem; }
.quotes-note {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--faint); font-weight: 700; margin-bottom: 1.6rem;
}
.quotes > .post-lead + .quote-grid { margin-top: 1.6rem; }
.quote-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
    display: flex; flex-direction: column; gap: 0.9rem;
    padding: 1.6rem 1.5rem; border-radius: 16px;
    border: 1px solid var(--border); background: var(--panel);
}
.quote-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.12em; }
.quote-card blockquote p {
    font-size: 1rem; line-height: 1.7; color: var(--text);
}
/* Quotation marks come from CSS, so the stored text stays clean — and each
   language gets its own pair: English "..." , Polish „..." . */
.quote-card blockquote p::before { content: '\201C'; }
.quote-card blockquote p::after { content: '\201D'; }
html[lang="pl"] .quote-card blockquote p::before { content: '\201E'; }
html[lang="pl"] .quote-card blockquote p::after { content: '\201D'; }
.quote-card figcaption {
    margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 0.15rem;
    font-size: 0.84rem;
}
.quote-card figcaption b { color: var(--text); font-weight: 600; }
.quote-card figcaption span { color: var(--faint); }

/* ---------------- PRINT ---------------- */
@media print {
    .profile, .diff-card, .quote-card, .callout.disclosure { border-color: #ccc; background: none; }
    .profile-num, .profile-win { border-color: #ccc; background: none; color: #000; }
    .profile-uses li { border-color: #ccc; background: none; }
}
