*{box-sizing:border-box}
:root{
  --bg:#f7f8fa;
  --surface:#ffffff;
  --line:#e6e8ee;
  --text:#10131a;
  --muted:#5d6472;
  --accent:#1f6fff;
  --accent-weak:#ebf2ff;
}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.post-content pre,
.section pre,
pre{
  white-space:pre-wrap;
  word-break:break-word;
  overflow-wrap:anywhere;
  overflow-x:auto;
}
.wrap{max-width:1020px;margin:0 auto;padding:0 22px}

.header{
  position:sticky;top:0;z-index:20;
  background:rgba(247,248,250,.85);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav{display:flex;gap:18px;align-items:center;min-height:62px;flex-wrap:wrap}
.brand{font-weight:800;letter-spacing:-.01em;margin-right:auto}
.nav a{font-size:14px;color:#2f3441}

.hero{padding:68px 0 30px}
.hero-profile{display:grid;grid-template-columns:1.35fr .65fr;gap:24px;align-items:center}
.hero-text{min-width:0}
.hero-photo-wrap{display:flex;flex-direction:column;align-items:center}
.hero-photo{width:100%;max-width:280px;aspect-ratio:1/1;object-fit:cover;border-radius:20px;border:1px solid var(--line);box-shadow:0 6px 24px rgba(16,19,26,.08)}
.photo-hint{font-size:12px;color:#6b7280;margin-top:8px;text-align:center}
.kicker{display:inline-block;padding:6px 10px;border-radius:999px;background:var(--accent-weak);color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.03em}
.h1{font-size:42px;line-height:1.2;letter-spacing:-.02em;margin:14px 0}
.sub{font-size:18px;color:var(--muted);max-width:840px}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
@media (max-width:920px){.hero-profile{grid-template-columns:1fr;}.hero-photo{max-width:220px}}
.btn{display:inline-block;padding:10px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:600}
.btn-dark{background:var(--text);border-color:var(--text);color:#fff}
.btn:hover{text-decoration:none;opacity:.92}

.section{padding:26px 0}
.section h2{font-size:25px;margin:0 0 12px;letter-spacing:-.01em}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.card{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:14px;
  padding:18px;
  box-shadow:0 1px 1px rgba(16,19,26,.02),0 6px 22px rgba(16,19,26,.03);
}
.card h3{margin:2px 0 8px;font-size:18px;letter-spacing:-.01em}
.card p{margin:0;color:#495061}

.thumb-wrap{display:block;border-radius:10px;overflow:hidden;background:#f0f2f7;border:1px solid var(--line);margin-bottom:12px}
.thumb-wrap .thumb-img{
  display:block;
  width:100%;
  height:170px;
  object-fit:cover;
  object-position:center;
  margin:0;
  border:0;
  border-radius:0;
}
.thumb{display:grid;place-items:center;height:170px;color:#8a92a3;font-size:13px}
.meta{font-size:13px;color:#6a7282;margin-bottom:7px}
.badge{display:inline-block;border:1px solid #d8ddea;border-radius:999px;padding:4px 10px;font-size:12px;color:#47506a;margin-right:6px;margin-top:6px;background:#fff}
.section img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line);margin:12px 0}
.section ul{padding-left:20px}
.section p{margin:0 0 .72em}
.section p:last-child{margin-bottom:0}
.related-posts{margin-top:36px;padding-top:20px;border-top:1px solid var(--line)}
.related-posts h2{margin:0 0 12px;font-size:22px}
.zoomable-image{cursor:zoom-in;transition:transform .15s ease, box-shadow .15s ease}
.zoomable-image:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(16,19,26,.12)}

.img-lightbox{position:fixed;inset:0;background:rgba(10,12,18,.86);display:none;align-items:center;justify-content:center;padding:28px;z-index:1000}
.img-lightbox.open{display:flex}
.img-lightbox img{max-width:min(95vw,1600px);max-height:90vh;width:auto;height:auto;border-radius:12px;border:1px solid rgba(255,255,255,.22);box-shadow:0 20px 60px rgba(0,0,0,.45)}
.img-lightbox-close{position:absolute;top:18px;right:18px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;border-radius:10px;padding:8px 12px;font-size:18px;cursor:pointer}
.img-lightbox-close:hover{background:rgba(255,255,255,.16)}
.img-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;border-radius:999px;width:44px;height:44px;font-size:34px;line-height:38px;cursor:pointer;display:grid;place-items:center}
.img-lightbox-nav:hover{background:rgba(255,255,255,.16)}
.img-lightbox-nav.prev{left:18px}
.img-lightbox-nav.next{right:18px}

.footer{border-top:1px solid var(--line);margin-top:46px;padding:20px 0 36px;color:#697083;font-size:14px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}

.about-page .h1{margin-bottom:14px}
.about-split-grid{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.6fr);gap:16px;align-items:start}
.about-left{position:static;padding:20px}
.about-eyebrow{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4f5b72}
.about-lead{font-size:18px;line-height:1.75;color:#1d2433;margin:0}
.about-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.about-tag{font-size:12px;color:#334155;background:#f3f6fb;border:1px solid #dfe6f2;border-radius:999px;padding:6px 10px;font-weight:600}
.about-right{display:grid;gap:16px}
.about-block h2{font-size:18px;margin:0 0 10px;font-weight:700;color:#2a3345}
.about-block p{margin:0 0 10px}
.about-block p:last-child{margin-bottom:0}

.working-style-grid .ws-card{padding:16px 16px 15px}
.about-feature-section{margin-top:26px;display:flex;flex-direction:column;gap:16px}
.about-feature-intro{padding:0 2px}
.about-feature-intro h2{margin-bottom:6px}
.about-feature-intro p{margin:0}
.feature-grid{margin-top:6px}
.feature-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:8px}
.feature-head h3{margin:0}
.feature-sub{margin:4px 0 0;font-size:14px;color:var(--muted)}
.about-feature-card ul{margin:0;padding-left:20px}
.about-feature-card ul li{margin-bottom:6px}
.about-feature-card ul li:last-child{margin-bottom:0}
.metrics-table{overflow-x:auto;padding:0}
.metrics-table table{width:100%;border-collapse:collapse;font-size:14px}
.metrics-table th,.metrics-table td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.metrics-table th{background:#f7f9ff;font-weight:600;color:#27324a}
.metrics-table tbody tr:nth-child(even){background:#fbfcff}
.metrics-table tbody tr:last-child td{border-bottom:0}
@media (max-width:640px){.metrics-table table{font-size:13px}.metrics-table th,.metrics-table td{padding:8px 10px}}
.ws-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.ws-icon{
  width:28px;height:28px;border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#f4f6fb;border:1px solid #e2e8f3;font-size:14px;line-height:1;
}
.ws-card h3{margin:0;font-size:17px}
.ws-card p{color:#4a5263}

@media (max-width:900px){
  .about-split-grid{grid-template-columns:1fr}
  .about-left{position:static}
}

.blog-page .sub{margin-bottom:14px}
.blog-hero{padding:18px 20px;margin-bottom:14px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.blog-hero-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#4f5b72;font-weight:700}
.blog-hero-text{margin:0;color:#2a3345}
.blog-list{display:grid;gap:12px}
.blog-card{padding:0;overflow:hidden;transition:transform .15s ease, box-shadow .15s ease,border-color .15s ease}
.blog-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(16,19,26,.08);border-color:#dbe3f0}
.blog-link{display:block;padding:16px 18px}
.blog-link:hover{text-decoration:none}
.blog-main{display:flex;align-items:flex-start;gap:14px}
.blog-copy{min-width:0;flex:1}
.blog-thumb-wrap{flex:0 0 88px;width:88px;height:88px;border:1px solid #e8edf5;border-radius:10px;overflow:hidden;background:#f3f6fb}
.blog-thumb-wrap .blog-thumb{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  object-position:center;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  pointer-events:none;
  cursor:default;
}
.blog-link h3{margin:0 0 4px;font-size:20px;line-height:1.35;letter-spacing:-.01em}
.blog-excerpt{margin:10px 0 0;color:#4b5364}
.blog-read{display:inline-block;margin-top:10px;font-size:13px;font-weight:600;color:#3557a6}

@media (max-width:780px){
  .h1{font-size:32px}
  .sub{font-size:16px}
  .grid{grid-template-columns:1fr}
  .about-lead{font-size:17px}
  .blog-link h3{font-size:18px}
  .blog-main{gap:10px}
  .blog-thumb-wrap{flex-basis:72px;width:72px;height:72px}
}
