:root{
  --bg:#f8fafc;
  --surface:#ffffff;
  --surface-2:#f7f9fc;
  --text:#111827;
  --muted:#556b7d;
  --border:#d7e2ec;
  --primary:#0c5bb0;
  --primary-2:#084f8e;
  --accent:#24624d;
  --shadow:0 18px 45px rgba(15, 23, 42, 0.08);
  --radius:24px;
  --radius-sm:16px;
  --container:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15,108,189,.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #f4f8fb 55%, #f8fafc 100%);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 1rem}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .75rem}
h1{font-size:clamp(2.2rem, 5vw, 3.8rem);letter-spacing:-.045em}
h2{font-size:clamp(1.45rem, 2.2vw, 2.05rem);letter-spacing:-.025em}
h3{font-size:1.05rem;font-weight:700}
small,.eyebrow,.meta,.muted{color:var(--muted)}
.container{width:min(var(--container), calc(100% - 2rem)); margin-inline:auto}
.skip-link{
  position:absolute;left:-999px;top:12px;background:#fff;color:#000;padding:.75rem 1rem;border-radius:999px;z-index:9999
}
.skip-link:focus{left:12px}
.site-header{
  position:sticky;top:0;z-index:1000;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(215,226,236,.85);
  box-shadow:0 12px 32px rgba(15,23,42,.04);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  min-height:76px;
}
.brand{
  display:flex;align-items:center;gap:.85rem;font-weight:700;letter-spacing:-.03em
}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  background:linear-gradient(135deg,var(--primary),#5fb4ff);
  box-shadow:0 10px 24px rgba(15,108,189,.22);
  display:grid;place-items:center;color:#fff;font-weight:800;
}
.brand span{font-size:1.02rem}
.desktop-nav{display:flex;align-items:center;gap:1.25rem}
.desktop-nav a{
  color:var(--muted);
  font-weight:600;
  font-size:.98rem;
  padding:.35rem 0;
}
.desktop-nav a:hover,.desktop-nav a[aria-current="page"]{color:var(--text)}
.header-actions{display:flex;align-items:center;gap:.75rem}
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border-radius:999px;padding:.92rem 1.25rem;font-weight:700;border:1px solid transparent;
  transition:.24s ease, transform .24s ease;white-space:nowrap
}
.button.primary{background:var(--primary);color:#fff;box-shadow:0 14px 28px rgba(15,108,189,.18)}
.button.primary:hover{background:var(--primary-2);transform:translateY(-1px)}
.button.ghost{border-color:var(--border);background:rgba(255,255,255,.92);color:var(--muted)}
.button.ghost:hover{border-color:rgba(15,108,189,.2);color:var(--text)}
.mobile-nav{display:none}
.mobile-nav summary{
  list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.5rem;
  padding:.9rem 1rem;border:1px solid var(--border);background:#fff;border-radius:999px;font-weight:700
}
.mobile-nav summary::-webkit-details-marker{display:none}
.mobile-nav[open] summary{border-radius:18px 18px 0 0}
.mobile-panel{
  position:absolute;right:1rem;top:66px;background:#fff;border:1px solid var(--border);
  border-radius:18px;box-shadow:var(--shadow);padding:1rem;width:min(280px, calc(100vw - 2rem))
}
.mobile-panel a{display:block;padding:.8rem .2rem;color:var(--muted);font-weight:600}
.mobile-panel a:hover{color:var(--text)}

.hero{
  padding:3.5rem 0 2rem;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:2rem;
  align-items:start;
}
.hero-card{
  background:#fff;
  border:1px solid rgba(215,226,236,.95);
  border-radius:32px;
  padding:clamp(1.75rem, 3vw, 3rem);
  box-shadow:var(--shadow);
}
.founder-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,320px);
  gap:2rem;
  align-items:center;
}
.founder-card .founder-copy{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.founder-card .founder-image{
  width:100%;
  max-width:320px;
  aspect-ratio:1 / 1;
  justify-self:end;
  overflow:hidden;
}
.founder-card .founder-copy .eyebrow{
  max-width:max-content;
  white-space:nowrap;
}
.founder-card .founder-image img{
  border-radius:28px;
  width:100%;
  height:100%;
  object-fit:cover;
}
@media (max-width:900px) {
  .founder-card{
    grid-template-columns:1fr;
  }
  .founder-card .founder-image{
    justify-self:auto;
    max-width:none;
  }
}
.tutorials-hero .hero-card{
  max-width:var(--container);
  margin-inline:auto;
}
.content-width{
  max-width:var(--container);
  margin-inline:auto;
  width:100%;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.45rem .85rem;border:1px solid var(--border);border-radius:999px;background:#f8fbff;font-size:.88rem;font-weight:700;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.03em
}
.hero p{font-size:1.03rem;max-width:64ch;color:var(--muted)}
.hero-actions{display:flex;flex-wrap:nowrap;gap:1rem;margin-top:1.75rem;align-items:center;overflow:hidden}
.hero-search-form{display:flex;flex:0 1 auto;min-width:0;overflow:hidden}
.hero-actions .hero-search{flex:1 1 360px;min-width:42px;max-width:560px;width:auto;border-radius:999px;border:1px solid rgba(15,108,189,.24);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230c5bb0' d='M15.5 14h-.79l-.28-.27a6.471 6.471 0 001.48-5.34C15.28 5.59 12.18 2.5 8.5 2.5S1.72 5.59 1.72 9.39 4.82 16.28 8.5 16.28a6.5 6.5 0 004.96-2.3l.27.28v.79l5 4.94 1.48-1.48-4.94-5zm-7 0C5.46 14 3 11.54 3 8.5S5.46 3 8.5 3 14 5.46 14 8.5 11.54 14 8.5 14z'/%3E%3C/svg%3E") no-repeat 14px center/16px 16px;padding:0.95rem 1.2rem 0.95rem 2.8rem;box-sizing:border-box;}
.hero-actions .hero-search:focus{outline:none;box-shadow:0 0 0 4px rgba(12,91,176,.12);}
.hero-actions .button.primary{flex:0 1 auto;min-width:0;}
@media (max-width:700px) {
  .hero-actions{gap:.75rem;}
  .hero-actions .button.primary{padding:.85rem 1.1rem;}
  .hero-actions .hero-search{flex:0 0 42px;min-width:42px;max-width:42px;padding:0.95rem;}
  .hero-actions .hero-search::placeholder{color:transparent;}
}
.hero-aside{
  display:grid;gap:1rem;
}
.panel{
  background:#fff;
  border:1px solid rgba(215,226,236,.9);
  border-radius:28px;padding:1.25rem;
  box-shadow:var(--shadow);
}
.panel .stat{
  font-size:1.7rem;font-weight:800;letter-spacing:-.03em
}
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1.35rem;
}
.stat-card{
  background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:24px;padding:1.2rem 1.25rem;box-shadow:var(--shadow);
}
.stat-card strong{display:block;font-size:1.32rem}
.stat-card span{color:var(--muted);font-size:.95rem;line-height:1.6}

.section{padding:2rem 0 3.25rem}
.section-header{
  display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.3rem
}
.section-header p{max-width:60ch;color:var(--muted)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.card{
  background:#fff;
  border:1px solid rgba(215,226,236,.9);
  border-radius:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover{transform:translateY(-2px);border-color:rgba(15,108,189,.18);box-shadow:0 24px 52px rgba(15,23,42,.08)}
a.card{display:block}
.search-empty{padding:1.5rem 1rem;margin-top:1rem;border-radius:20px;background:rgba(15,108,189,.06);border:1px solid rgba(15,108,189,.14);color:var(--muted);text-align:center}
.hidden{display:none!important}
.card .content{padding:1.3rem}
.card .topline{
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.65rem
}
.tag{
  display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:999px;
  background:var(--surface-2);border:1px solid var(--border);font-size:.82rem;font-weight:700;color:#2f4d66
}
.card a.title{
  display:block;font-size:1.14rem;font-weight:800;letter-spacing:-.02em;margin-bottom:.45rem;color:var(--text)
}
.card p{color:var(--muted);font-size:.975rem}
.card .footer{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;color:var(--muted);font-size:.9rem
}
.image{
  aspect-ratio:16/9;
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:#eef7ff;
}
.image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.image::after{
  content:"";position:absolute;inset:0;border-radius:28px;pointer-events:none;
}
.meta-row{
  display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;color:var(--muted);font-size:.92rem
}
.pill-row{display:flex;flex-wrap:wrap;gap:.7rem;margin:.8rem 0 0}
.pill{
  padding:.48rem .8rem;border-radius:999px;border:1px solid var(--border);background:#fff;font-weight:600;color:#324155;font-size:.9rem
}
.split{
  display:grid;grid-template-columns:1fr .9fr;gap:1rem;align-items:start
}
.aside-list{
  display:grid;gap:.95rem
}
.list-item{
  padding:1rem;border-radius:20px;background:#fff;border:1px solid var(--border)
}
.list-item h3{margin-bottom:.35rem}
.list-item p{margin:0;color:var(--muted);font-size:.95rem}
.callout{
  border-radius:28px;padding:1.5rem;background:linear-gradient(135deg, rgba(15,108,189,.08), rgba(45,125,70,.06));border:1px solid rgba(15,108,189,.12)
}
.newsletter{
  display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center
}
input,textarea,select{
  width:100%;padding:1rem 1.05rem;border-radius:16px;border:1px solid var(--border);background:#fff;color:var(--text);
  font:inherit;
}
textarea{min-height:160px;resize:vertical}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.breadcrumb{
  display:flex;flex-wrap:wrap;gap:.5rem;color:var(--muted);font-size:.92rem;margin-bottom:1rem
}
.breadcrumb a{color:inherit}
.article-layout{
  display:grid;
  justify-content:center;
  padding-top:1rem;
}
.article{
  background:#fff;
  border:1px solid rgba(215,226,236,.95);
  border-radius:34px;
  padding:clamp(1.75rem, 3vw, 2.5rem);
  box-shadow:var(--shadow);
  max-width:var(--container);
  margin-inline:auto;
  width:100%;
  margin-top:.5rem;
}
.article h1{font-size:clamp(1.95rem, 4vw, 3.2rem);margin-top:1rem}
.article h2{margin-top:2rem;font-size:clamp(1.35rem, 1.85vw, 1.85rem)}
.article p{margin:0 0 1.25rem;color:var(--muted);font-size:1.01rem;line-height:1.75}
.article h3{font-size:1rem;margin-top:1.5rem}
.article blockquote{
  margin:1.7rem 0;padding:1.3rem 1.35rem;border-left:4px solid var(--primary);background:rgba(15,108,189,.08);border-radius:0 18px 18px 0;color:#203046
}

/* Article link and list styling requested by user */
.article a{color:#0a58a3;text-decoration:underline;text-underline-offset:2px}
.article a:hover{color:var(--primary-2)}
.article ul, .article ol{margin-left:1.25rem}
.article ul li::marker, .article ol li::marker{color:var(--primary)}
.article .eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .85rem;border:1px solid var(--border);border-radius:999px;background:#f8fbff;font-size:.8rem;font-weight:700;margin-bottom:1.5rem;text-transform:uppercase;letter-spacing:.04em;color:#1f4c82
}
.article-meta{
  display:flex;flex-wrap:wrap;gap:1rem;margin-top:.85rem;color:var(--muted);font-size:.95rem
}
.article-meta span{display:inline-flex;align-items:center;gap:.4rem}
.article-hero{
  display:grid;gap:1.5rem;
}
.article-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:2rem;
  align-items:center;
}
.article-hero-image{
  display:flex;
  align-items:center;
  justify-content:center;
}
.article-hero-image img{
  width:min(100%, 520px);
  max-width:520px;
  height:auto;
  border-radius:28px;
  box-shadow:0 24px 56px rgba(15,23,42,.12);
  border:1px solid rgba(215,226,236,.9);
}
.article-hero-card{
  background:#fff;
  border:1px solid rgba(215,226,236,.95);
  border-radius:32px;
  padding:2rem;
  box-shadow:var(--shadow);
  max-width:var(--container);
  margin-inline:auto;
  width:100%;
  margin-bottom:.75rem;
}
.article-hero-card .meta-row{margin-bottom:1rem}
.lead{
  font-size:1.08rem;line-height:1.85;color:var(--text);max-width:68ch;margin:0 0 1.5rem
}
.article-callout{
  padding:1.5rem 1.35rem;background:linear-gradient(135deg, rgba(15,108,189,.08), rgba(45,125,70,.05));border:1px solid rgba(15,108,189,.12);border-radius:28px;margin-top:1.5rem
}
.toc{
  position:sticky;top:110px;
  background:#fff;border:1px solid rgba(215,226,236,.9);border-radius:28px;padding:1.5rem;box-shadow:var(--shadow)
}
.toc a{display:block;padding:.45rem 0;color:var(--muted);font-weight:600;font-size:.95rem}
.toc a:hover{color:var(--text)}
.footer{
  padding:3rem 0 3.5rem;margin-top:1rem;border-top:1px solid rgba(215,226,236,.9)
}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:1rem}
.footer a{display:block;color:var(--muted);padding:.35rem 0}
.footer a:hover{color:var(--text)}
hr.sep{border:0;border-top:1px solid var(--border);margin:1.5rem 0}

@media (max-width: 1024px){
  .hero-grid,.article-layout,.split,.footer-grid,.newsletter,.article-hero-grid{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .toc{position:static}
  .content-width, .article, .article-hero-card, .tutorials-hero .hero-card{max-width:calc(100% - 2rem);margin-inline:auto}
}
@media (max-width: 760px){
  .desktop-nav,.header-actions .ghost{display:none}
  .mobile-nav{display:block;position:relative}
  .hero{padding-top:2.5rem}
  .stats,.grid-2,.grid-3,.grid-4,.form-grid{grid-template-columns:1fr}
  .section-header{flex-direction:column;align-items:flex-start}
  .hero-actions,.pill-row,.form-actions{width:100%}
  .button{width:100%}
  .header-inner{min-height:70px}
  .hero-card,.card,.panel,.article,.toc{border-radius:24px}
  .hero-grid{gap:1.5rem}
  .article-layout{gap:1.25rem}
  .button.primary,.button.ghost{padding:.95rem 1.15rem}
  .hero p{font-size:1rem}
  .card a.title{font-size:1.1rem}
}


.merged-article-content{
  margin-top:2rem;
  padding-top:1.5rem;
  border-top:1px solid var(--border);
}

.merged-article-content h2{
  margin-top:2rem;
  font-size:clamp(1.35rem, 1.85vw, 1.85rem);
}

.merged-article-content p{
  color:var(--muted);
  line-height:1.75;
  margin-bottom:1.25rem;
}

.merged-article-content .code{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:18px;
  padding:1rem;
  overflow:auto;
  margin:1.25rem 0;
}

.merged-article-content blockquote{
  margin:1.7rem 0;
  padding:1.3rem 1.35rem;
  border-left:4px solid var(--primary);
  background:rgba(15,108,189,.08);
  border-radius:0 18px 18px 0;
  color:#203046;
}

/* Command / code block with copy button */
.code{
  background:#f8fafc;
  border:1px solid var(--border);
  border-radius:14px;
  padding:1rem 1.1rem;
  overflow:auto;
  position:relative;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Roboto Mono', 'Courier New', monospace;
}
.code code{display:block;white-space:pre-wrap;font-size:.98rem;color:#0b1f3a}
.code .cmd-copy{
  position:absolute;top:8px;right:8px;border:0;background:rgba(255,255,255,.98);border-radius:8px;padding:.35rem .6rem;font-weight:700;color:var(--primary);cursor:pointer;border:1px solid rgba(12,91,176,.12);box-shadow:0 6px 18px rgba(12,91,176,.06)
}
.code .cmd-copy:active{transform:translateY(1px)}
.code .cmd-copy.copied{background:var(--primary);color:#fff;border-color:var(--primary-2)}

