/* SplitFast blog — standalone stylesheet (blog pages ship zero JS and do not
   load the landing bundle). Tokens mirror landing/style.css :root. */
:root {
  --tg-primary: #0088CC;
  --tg-primary-dark: #0077B5;
  --tg-secondary: #54A9EB;
  --text: #0f1720;
  --text-soft: #46535e;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --border: #e7ecef;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(6, 40, 61, .10);
  --grad: linear-gradient(135deg, #0088CC, #54A9EB);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tg-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- nav ---- */
.bnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.bnav-in {
  max-width: 1080px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
/* .blogo mirrors the landing .logo / .logo-icon VERBATIM (blue wordmark,
   gradient icon tile with 10px radius) */
.blogo {
    font-size: 26px;
    font-weight: 700;
    color: var(--tg-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.blogo:hover { text-decoration: none; }
.blogo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}
.blogo .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.bnav-links { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.bnav-links a { color: var(--text-soft); }
.bnav-links a.active { color: var(--tg-primary); }
/* .nav-cta — copied VERBATIM from landing style.css (same class, shine sweep) */
.nav-cta {
    padding: 8px 24px;
    background: var(--tg-primary);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}
.nav-cta:hover::before { left: 100%; }
.nav-cta:hover {
    background: var(--tg-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 136, 204, 0.4);
    text-decoration: none;
}
.nav-cta .cta-icon { width: 13px; height: 13px; }
@media (max-width: 560px) { .bnav-links a:not(.nav-cta) { display: none; } }

/* ---- article ---- */
.article-wrap, .index-wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
.crumbs { font-size: 13.5px; color: var(--text-soft); margin-bottom: 26px; }
.crumbs span { color: var(--text-soft); }
.art-cat {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--tg-primary);
  background: rgba(0, 136, 204, .08); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.art-head h1 { font-size: clamp(30px, 5.4vw, 44px); line-height: 1.14; letter-spacing: -.02em; font-weight: 800; }
.art-meta { color: var(--text-soft); font-size: 14.5px; margin-top: 14px; }
.dot { margin: 0 7px; color: #b6c2cb; }
.langswitch { font-size: 13.5px; color: var(--text-soft); margin-top: 10px; }
.langswitch a { font-weight: 600; }

.art-hero { margin: 28px auto 8px; }
.art-hero img, .art-body figure img {
  border-radius: 22px; box-shadow: var(--shadow); width: 100%;
}

.art-body { font-size: 17.5px; }
.art-body > * + * { margin-top: 1.05em; }
.art-body h2 {
  font-size: 27px; font-weight: 800; letter-spacing: -.015em;
  margin-top: 1.9em; line-height: 1.25; scroll-margin-top: 80px;
}
.art-body h3 { font-size: 20.5px; font-weight: 700; margin-top: 1.5em; scroll-margin-top: 80px; }
.art-body ul, .art-body ol { padding-left: 26px; }
.art-body li + li { margin-top: .45em; }
.art-body strong { font-weight: 700; }
.art-body figure { margin: 1.8em auto; }
.art-body figcaption { font-size: 13.5px; color: var(--text-soft); text-align: center; margin-top: 10px; }
.art-body blockquote {
  border-left: 4px solid var(--tg-secondary); background: var(--bg-soft);
  padding: 14px 20px; border-radius: 0 12px 12px 0; color: var(--text-soft);
}
.art-body code {
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 1px 7px; border-radius: 7px; font-size: .92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.art-body .tip {
  background: rgba(0, 136, 204, .06); border: 1px solid rgba(0, 136, 204, .18);
  border-radius: var(--radius); padding: 16px 20px;
}
.art-body .tip strong:first-child { color: var(--tg-primary-dark); }

/* comparison tables */
.tbl-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--radius); }
.art-body table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 560px; }
.art-body th {
  background: var(--bg-soft); text-align: left; font-weight: 700;
  padding: 12px 16px; border-bottom: 2px solid var(--border); white-space: nowrap;
}
.art-body td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.art-body tr:last-child td { border-bottom: none; }
.art-body td.yes { color: #1e9e4a; font-weight: 700; }
.art-body td.no { color: #c2413b; font-weight: 700; }

/* steps */
.step { display: flex; gap: 16px; margin-top: 1.6em; }
.step-n {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 136, 204, .35);
}
.step h3 { margin-top: 4px !important; }

/* ---- FAQ ---- */
.faq { margin-top: 56px; }
.faq h2 { font-size: 27px; font-weight: 800; margin-bottom: 18px; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-top: 12px; background: #fff;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--tg-primary); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; color: var(--text-soft); font-size: 16px; }

/* ---- CTA (mirrors the landing .cta-section / .cta-button-light) ---- */
.cta-box {
  margin-top: 56px; text-align: center; color: #fff;
  background: var(--grad);
  border-radius: 24px; padding: 48px 28px;
  box-shadow: 0 18px 44px rgba(0, 105, 160, .35);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -60%; left: -15%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
}
.cta-box::after {
  content: ''; position: absolute; bottom: -60%; right: -15%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.cta-box p { margin: 12px auto 26px; max-width: 460px; opacity: .95; font-size: 16.5px; }
/* .cta-button-light — copied VERBATIM from landing style.css (shine sweep incl.) */
.cta-button-light {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 22px 52px;
    background: white;
    color: var(--tg-primary);
    font-size: 22px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.cta-button-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 204, 0.1), transparent);
    transition: left 0.5s;
}
.cta-button-light:hover::before { left: 100%; }
.cta-button-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
.cta-button-light .cta-icon { width: 26px; height: 26px; flex: none; }
@media (max-width: 560px) { .cta-button-light { padding: 18px 32px; font-size: 18px; } }

/* Duck easter egg (same as landing) */
.duck-easter-egg {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: scale(0);
    transition:
        opacity 0.3s ease-out,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}
.duck-easter-egg.visible { opacity: 1; transform: scale(1); }
.duck-easter-egg.hiding {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
    transition: opacity 0.3s ease-in, transform 0.4s ease-in;
}

/* ---- related ---- */
.related { margin-top: 56px; }
.related h2 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.related-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  color: var(--text); font-weight: 700; font-size: 14.5px; line-height: 1.35;
  background: #fff; transition: box-shadow .15s ease, transform .15s ease;
}
.related-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card img { aspect-ratio: 1200/630; object-fit: cover; object-position: left top; width: 100%; }
.related-card span { display: block; padding: 12px 14px; }
.backlink { margin-top: 40px; font-weight: 700; }

/* ---- blog index ---- */
.index-wrap { max-width: 1080px; }
.index-head { text-align: center; margin: 18px auto 40px; max-width: 640px; }
.index-head h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.index-head p { color: var(--text-soft); margin-top: 12px; font-size: 17.5px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--border); border-radius: 20px;
  padding: 14px 14px 18px; background: #fff; color: var(--text);
  transition: box-shadow .15s ease, transform .15s ease;
}
.post-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.post-thumb { width: 100%; }
.post-thumb img { border-radius: 12px; aspect-ratio: 1200/630; object-fit: cover; width: 100%; }
.post-body { padding: 0 4px; }
.post-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tg-primary); }
.post-body h2 { font-size: 17.5px; line-height: 1.3; font-weight: 800; margin-top: 6px; }
.post-desc { font-size: 13.5px; color: var(--text-soft); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: 12.5px; color: var(--text-soft); margin-top: 10px; }
.index-wrap .cta-box { margin-top: 64px; }

/* ---- footer ---- */
.bfooter {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  text-align: center; padding: 34px 20px; font-size: 14px; color: var(--text-soft);
}
.bfooter p + p { margin-top: 10px; }
