:root {
    --page-bg: #eef6ff;
    --accent: #3b82f6;
    --accent-light: #dbeafe;
    --accent-from: #3b82f6;
    --accent-to: #2563eb;
    --accent-shadow-sm: rgba(59, 130, 246, 0.45);
    --accent-shadow-lg: rgba(59, 130, 246, 0.6);
}

/* ─── Patterns at a Glance callout ─────────────────────────── */
.patterns-callout {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid #c7dbf5;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.25rem;
    margin: 0 0 2rem;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.08);
}

.patterns-header {
    border-bottom: 1px dashed #c7dbf5;
    padding-bottom: .9rem;
    margin-bottom: 1rem;
}
.patterns-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #2563eb;
    background: #dbeafe;
    border-radius: 10px;
    padding: .15rem .6rem;
    margin-bottom: .5rem;
}
.patterns-header h2 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin: 0 0 .35rem;
}
.patterns-header p {
    color: #475569;
    font-size: .92rem;
    line-height: 1.5;
    margin: 0;
}

.pattern-row {
    display: flex;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid #eaf1fb;
}
.pattern-row:last-of-type { border-bottom: none; padding-bottom: .35rem; }

.pattern-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: .15rem;
}

.pattern-body { flex: 1; min-width: 0; }

.pattern-name {
    margin: 0 0 .35rem;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}
.pattern-phrase {
    display: inline-block;
    margin-left: .3rem;
    font-style: italic;
    font-weight: 500;
    font-size: .85rem;
    color: #2563eb;
    background: #eef4fd;
    padding: .05rem .5rem;
    border-radius: 10px;
}

.pattern-desc {
    color: #334155;
    font-size: .88rem;
    line-height: 1.55;
    margin: 0 0 .45rem;
}
.pattern-desc em { color: #1d4ed8; font-style: italic; }

.pattern-used {
    margin: 0;
    font-size: .82rem;
    color: #64748b;
}
.pattern-used strong { color: #475569; margin-right: .25rem; }
.pattern-used a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.pattern-used a:hover { text-decoration: underline; color: var(--accent-to); }

.patterns-footnote {
    margin: 1rem 0 0;
    padding-top: .85rem;
    border-top: 1px dashed #c7dbf5;
    font-size: .8rem;
    color: #64748b;
    line-height: 1.5;
}
.patterns-footnote em {
    font-style: normal;
    font-weight: 600;
    color: #475569;
    background: #eef4fd;
    padding: .05rem .35rem;
    border-radius: 4px;
    margin: 0 .1rem;
}
