/* ── shared design tokens ── */
/* imported by index.html and open-source/index.html */

/* ── font stacks ── */
.font-heading  { font-family: 'Crimson Text', serif !important; }
.font-eyebrow  { font-family: 'Geist Mono', monospace !important; }
.font-body     { font-family: 'YuGothic', 'Yu Gothic', sans-serif !important; }

/* ── card primitive ── */
.sg-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 1.25rem;
}

/* ── card inner typography ── */
.sg-card-icon {
    width: 22px;
    height: 22px;
    color: #6b7280;
    margin-bottom: 0.625rem;
    line-height: 1;
}
.sg-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sg-card-title {
    font-family: 'YuGothic', 'Yu Gothic', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: #1a1a1a;
}
.sg-card-desc {
    font-family: 'YuGothic', 'Yu Gothic', sans-serif;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* ── section eyebrow ── */
.sg-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 0.85rem;
    font-weight: 250;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.625rem;
}

/* ── section heading (h2) ── */
.sg-h2 {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 110%;
    margin-bottom: 0.75rem;
    color: #000;
}

/* ── section subheading ── */
.sg-sub {
    font-family: 'YuGothic', 'Yu Gothic', sans-serif;
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 580px;
}

/* ── tag / badge ── */
.sg-tag {
    display: inline-block;
    font-family: 'YuGothic', 'Yu Gothic', sans-serif;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    color: #6b7280;
}
.sg-tag.sg-tag-accent {
    background: #f0fdf4;
    color: #15803d;
    border-color: transparent;
}
.sg-tag.sg-tag-blue {
    font-size: 10px;
    font-weight: 500;
    padding: 1px 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border-color: transparent;
}

/* ── 3-column grid ── */
.sg-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 940px) {
    .sg-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .sg-grid-3 { grid-template-columns: 1fr; }
}
