/* ============== SHARED BLOG POST STYLES ============== */
:root {
  --navy: #1A1A2E; --navy-2: #25253f;
  --blue: #0077B6; --blue-2: #005f93; --blue-soft: #E6F2F9;
  --cyan: #00B4D8; --cyan-soft: #E0F6FB;
  --bg: #FBFBFD; --surface: #FFFFFF; --surface-2: #F4F5F9;
  --line: #E7E8EE; --line-soft: #EFF0F4;
  --ink: #0F1024; --ink-2: #3C3D55; --ink-3: #6B6C82; --ink-4: #9596A8;
  --ok: #16a34a; --warn: #c2410c;
  --container: 1180px; --reading: 720px; --pad: clamp(20px, 4vw, 36px);
  --radius: 16px; --radius-lg: 22px; --radius-xl: 28px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow-sm: 0 1px 2px rgba(15,16,36,.05);
  --shadow: 0 4px 16px -4px rgba(15,16,36,.08);
  --shadow-md: 0 12px 32px -10px rgba(15,16,36,.14);
  --grad-cyan: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad); }
.reading { max-width: var(--reading); margin: 0 auto; }

/* ====== NAV ====== */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(251,251,253,.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(15,16,36,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; color: var(--cyan); font-weight: 800; font-size: 16px; }
.brand-name { font-weight: 700; font-size: 17px; }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--blue); }
.nav-links .new-pill { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--cyan); color: var(--navy); padding: 3px 6px; border-radius: 4px; margin-left: 6px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: transform .15s ease, background .2s ease; text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #0d0d20; color: #fff; text-decoration: none; }
.btn-cyan { background: var(--grad-cyan); color: #fff; }
.btn-cyan:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 960px) { .nav-links { display: flex; } .menu-btn { display: none; } }

/* ====== ARTICLE HEAD ====== */
.post-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
  position: relative;
}
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); font-weight: 500; }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: var(--ink-4); margin: 0 6px; }
.post-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); padding: 6px 12px; background: var(--blue-soft); border-radius: 999px;
  margin-bottom: 22px;
}
.post-cat.career { color: var(--warn); background: #FFEDD5; }
.post-cat .dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }

.post-head h1 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}
.post-tagline {
  margin-top: 18px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 640px;
}

.post-meta {
  margin-top: 28px;
  display: flex; gap: 14px 22px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
  align-items: center;
}
.post-meta .author { display: flex; align-items: center; gap: 10px; }
.post-meta .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.post-meta .author strong { color: var(--ink); font-weight: 600; display: block; font-size: 13px; }
.post-meta .author small { color: var(--ink-4); font-size: 12px; }
.post-meta .sep { color: var(--line); }
.post-meta .pill { font-family: var(--mono); font-size: 12px; padding: 4px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }

/* ====== ARTICLE BODY ====== */
.article {
  padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 80px);
}
.article h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 16px;
  scroll-margin-top: 90px;
}
.article h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
  scroll-margin-top: 90px;
}
.article h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 8px;
}
.article p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.article p.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}
.article ul, .article ol { margin: 0 0 22px; padding-left: 24px; color: var(--ink-2); }
.article li { margin-bottom: 10px; line-height: 1.7; }
.article li::marker { color: var(--ink-4); }
.article ul li { padding-left: 4px; }
.article strong { color: var(--ink); font-weight: 700; }
.article em { font-style: italic; color: var(--ink-2); }

.article blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--cyan);
  background: var(--surface-2);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.article blockquote cite { display: block; margin-top: 12px; font-size: 13px; font-family: var(--font); color: var(--ink-3); font-style: normal; }

.article hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}

/* Band-7 Upgrade callouts */
.upgrade {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.upgrade .upgrade-head {
  padding: 12px 20px;
  background: var(--navy); color: var(--cyan);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between;
}
.upgrade .upgrade-head .band-jump {
  background: var(--cyan); color: var(--navy);
  padding: 3px 8px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
}
.upgrade .row { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.upgrade .row:last-child { border-bottom: 0; }
.upgrade .row .lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 6px;
}
.upgrade .row.you .text {
  font-size: 16px;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: rgba(15,16,36,.25);
}
.upgrade .row.band .text {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.upgrade .row.band .text mark {
  background: rgba(0,180,216,.18);
  color: var(--blue-2);
  padding: 1px 4px;
  border-radius: 3px;
}
.upgrade .techs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.upgrade .techs span { font-family: var(--mono); font-size: 11px; padding: 4px 8px; background: var(--surface-2); color: var(--blue-2); border-radius: 999px; }

/* Tip/Pro/Warning callouts */
.callout {
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid; gap: 14px;
  grid-template-columns: auto 1fr;
}
.callout .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.callout .ic svg { width: 18px; height: 18px; }
.callout h4 { margin: 0 0 4px; font-size: 15px; }
.callout p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.callout.tip   { background: var(--cyan-soft); border-color: rgba(0,180,216,.3); }
.callout.tip .ic { background: var(--cyan); color: #fff; }
.callout.pro   { background: var(--blue-soft); border-color: rgba(0,119,182,.25); }
.callout.pro .ic { background: var(--blue); color: #fff; }
.callout.warn  { background: #FFF7ED; border-color: #FED7AA; }
.callout.warn .ic { background: var(--warn); color: #fff; }

/* TOC */
.toc {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc-head { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.toc-head::before { content: ""; width: 18px; height: 2px; background: var(--blue); }
.toc ol { margin: 0; padding-left: 24px; list-style: decimal; counter-reset: none; }
.toc li { margin-bottom: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.toc li::marker { color: var(--ink-4); font-family: var(--mono); font-size: 12px; }
.toc a { color: var(--ink-2); font-weight: 500; }
.toc a:hover { color: var(--blue); }

/* Inline product card */
.inline-cta {
  margin: 36px 0;
  padding: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.inline-cta::before { content: ""; position: absolute; top: -120px; right: -120px; width: 280px; height: 280px; background: radial-gradient(closest-side, rgba(0,180,216,.3), transparent 70%); }
.inline-cta .eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 4px 10px; background: rgba(0,180,216,.15); border-radius: 999px; position: relative; }
.inline-cta h4 { color: #fff; font-size: 22px; margin-top: 14px; max-width: 480px; font-weight: 700; letter-spacing: -0.02em; position: relative; }
.inline-cta p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: 15px; max-width: 480px; position: relative; }
.inline-cta .row {
  margin-top: 22px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  position: relative;
}
.inline-cta .price { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inline-cta .strike { color: rgba(255,255,255,.4); text-decoration: line-through; font-size: 14px; }

/* Table */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}
.article table th { background: var(--surface-2); padding: 14px 18px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); }
.article table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
.article table tr:last-child td { border-bottom: 0; }
.article table tr:hover td { background: var(--surface-2); }

/* Image figure */
.article figure { margin: 28px 0; }
.article figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.article figcaption { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 10px; }

/* Author bio */
.author-bio {
  margin: 60px auto 0;
  max-width: var(--reading);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; gap: 18px;
  grid-template-columns: auto 1fr;
}
.author-bio .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.author-bio h4 { margin: 0 0 4px; font-size: 16px; }
.author-bio p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* Related posts */
.related {
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.related h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin: 0 0 36px; }
.related h3 .grad { color: var(--ink); }
.related-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  max-width: 1080px; margin: 0 auto;
}
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none !important;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-card .post-cat { margin-bottom: 14px; align-self: flex-start; }
.related-card h4 { font-size: 18px; line-height: 1.3; margin: 0; color: var(--ink); font-weight: 700; }
.related-card p { margin: 8px 0 0; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.related-card .read { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--ink-4); font-family: var(--mono); }

/* Final CTA strip */
.final-cta {
  margin: 0 auto;
  max-width: 1080px;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, var(--blue-soft), var(--cyan-soft));
  border: 1px solid rgba(0,119,182,.15);
  border-radius: var(--radius-xl);
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 760px) { .final-cta { grid-template-columns: 1fr auto; } }
.final-cta h3 { font-size: 24px; color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.025em; }
.final-cta p { color: var(--ink-2); margin-top: 8px; font-size: 15px; max-width: 540px; }

/* FOOTER */
.foot { padding: 64px 0 32px; background: var(--surface-2); border-top: 1px solid var(--line); margin-top: 0; }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot-brand { max-width: 320px; }
.foot-brand p { margin-top: 14px; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.foot h5 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { font-size: 14px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; gap: 12px; }
