:root {
    --primary: #3e4999;
    --primary-dark: #2d3a7a;
    --primary-light: #5c6bc7;
    --ink: #1a1c28;
    --muted: #5b6070;
    --line: #e6e8f0;
    --bg: #ffffff;
    --bg-soft: #f5f6fb;
    --wa: #25D366;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(62, 73, 153, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1080px; }

/* Header */
.head { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); z-index: 40; }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 62px; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 900; letter-spacing: .04em; color: var(--primary); font-size: 1.15rem; }
.brand img { height: 32px; }
.head-cta { background: var(--primary); color: #fff; padding: .55rem 1.1rem; border-radius: 10px; font-weight: 700; font-size: .92rem; }
.head-cta:hover { background: var(--primary-dark); text-decoration: none; }

/* Breadcrumb */
.crumb { font-size: .85rem; color: var(--muted); margin: 26px 0 0; }
.crumb a { color: var(--muted); }

/* Article */
article { padding: 14px 0 40px; }
.post-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 12px; }
.post-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 26px; }
.lead { font-size: 1.18rem; color: #333; margin-bottom: 8px; }
article h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.01em; margin: 38px 0 12px; }
article h3 { font-size: 1.2rem; font-weight: 800; margin: 26px 0 8px; }
article p { margin: 0 0 16px; color: #2c2f3d; }
article ul, article ol { margin: 0 0 18px 1.2rem; color: #2c2f3d; }
article li { margin-bottom: 8px; }
article strong { color: var(--ink); }
.tldr { background: var(--bg-soft); border-left: 4px solid var(--primary); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }
.tldr b { color: var(--primary); }
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .97rem; display: block; overflow-x: auto; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
@media (max-width: 460px) { .price-table th, .price-table td { padding: 9px 10px; font-size: .9rem; } }
.price-table th { background: var(--bg-soft); font-weight: 800; }

/* CTA box */
.cta-box { background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light)); color: #fff; border-radius: var(--radius); padding: 28px; margin: 34px 0; text-align: center; box-shadow: var(--shadow); }
.cta-box h3 { color: #fff; font-size: 1.35rem; margin-bottom: .4rem; }
.cta-box p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.cta-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; padding: .85rem 1.4rem; border-radius: 11px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { text-decoration: none; transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { text-decoration: none; background: #1ebe5a; }

/* Related */
.related { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; }
.related h4 { font-size: 1.05rem; margin-bottom: 12px; }
.related ul { list-style: none; margin-left: 0; }
.related li { margin-bottom: 8px; }

/* Blog index */
.blog-hero { background: var(--bg-soft); padding: 46px 0 38px; text-align: center; }
.blog-hero h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; }
.blog-hero p { color: var(--muted); font-size: 1.1rem; margin-top: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 40px 0; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); text-decoration: none; }
.post-card .tag { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.post-card h2 { font-size: 1.22rem; font-weight: 800; margin: 8px 0; line-height: 1.25; color: var(--ink); }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card .more { color: var(--primary); font-weight: 700; margin-top: 12px; font-size: .95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; color: var(--muted); font-size: .88rem; }

@media (max-width: 800px) { .post-grid { grid-template-columns: 1fr; } }
