/* Shared styles ported from prototype */
* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #0F1A2A; }
h1, h2, h3, h4 { font-family: 'Manrope', system-ui, sans-serif; }
.r161-num { font-variant-numeric: tabular-nums; }

.r161-card { transition: transform .25s, box-shadow .25s; }
.r161-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -12px rgba(11,61,92,0.25); }

.r161-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: white; border: 1px solid #E1E8F0; font-size: 14px; font-weight: 500; color: #0F1A2A; cursor: pointer; transition: all .15s; white-space: nowrap; text-decoration: none; }
.r161-chip:hover { border-color: #0B3D5C; }
.r161-chip.active { background: #0B3D5C; color: white; border-color: #0B3D5C; }
.r161-chip-count { font-size: 12px; color: #5A6B7E; }
.r161-chip.active .r161-chip-count { color: rgba(255,255,255,0.7); }

.r161-status-free { background: rgba(31,138,76,0.1); color: #1F8A4C; }

.r161-btn-primary { background: #F4B400; color: #082B41; font-weight: 700; padding: 14px 28px; border-radius: 12px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.r161-btn-primary:hover { background: #D99A00; transform: translateY(-1px); }
.r161-btn-secondary { background: white; color: #0B3D5C; font-weight: 600; padding: 13px 26px; border-radius: 12px; border: 2px solid #0B3D5C; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.r161-btn-secondary:hover { background: #0B3D5C; color: white; }

.r161-cat-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.cat-guide { background: rgba(11,61,92,0.1); color: #0B3D5C; }
.cat-price { background: rgba(244,180,0,0.18); color: #92710A; }
.cat-metric { background: rgba(31,138,76,0.12); color: #156138; }
.cat-strategy { background: rgba(215,38,56,0.1); color: #B01D2C; }
.cat-tech { background: rgba(30,92,130,0.12); color: #1E5C82; }
.cat-creative { background: rgba(160,40,180,0.1); color: #80258F; }
.cat-case { background: rgba(224,123,0,0.12); color: #B86600; }
.cat-law { background: rgba(15,26,42,0.08); color: #2D3D55; }

.r161-fab { position: fixed; right: 20px; bottom: 90px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.r161-fab a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -4px rgba(15,26,42,0.25); transition: transform .2s; color: white; }
.r161-fab a:hover { transform: scale(1.08); }
.r161-fab .wa { background: #25D366; }
.r161-fab .tg { background: #229ED9; }
@media (min-width: 768px) { .r161-fab { bottom: 32px; } }

.r161-mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 49; background: white; border-top: 1px solid #E1E8F0; padding: 12px 16px; box-shadow: 0 -4px 16px -4px rgba(15,26,42,0.08); display: flex; gap: 8px; }
@media (min-width: 768px) { .r161-mobile-cta { display: none; } }

.r161-prose { font-size: 17px; line-height: 1.75; color: #1F2937; }
.r161-prose h2 { font-size: 28px; font-weight: 800; color: #0B3D5C; margin-top: 56px; margin-bottom: 20px; }
.r161-prose h3 { font-size: 22px; font-weight: 700; color: #0F1A2A; margin-top: 36px; margin-bottom: 14px; }
.r161-prose p { margin-bottom: 18px; }
.r161-prose a { color: #0B3D5C; text-decoration: underline; font-weight: 500; }
